<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="renderer" content="webkit">
        <title>编辑器演示</title>
        <link rel="stylesheet" href="layui/css/layui.css">
        <link rel="stylesheet" href="wang/wangeditor.css">
    </head>
    <body>
        <p>富文本编辑器</p>
        <div id="wang" style="height:500px;"></div>
        
        <script src="layui/layui.js"></script>
        <script>
            /*设置模块入口并加载后台公共模块*/
            layui.extend({
                wangeditor:'wang/wangeditor.min',
                app:'app/app',
            }).use('app');
        </script>
    </body>
</html>